#include<iostream>
#include<vector>
#include<map>
using namespace std;

struct point
{
	int _x;
	int _y;
};

int main()
{
	int x1 = 1;
	int x2 = { 2 };
	int x3{ 3 };
	int x4(1);

	int array1[]{ 1,2,3 };
	int array2[5]{ 0 }; 
	point p1{ 1,2 };
	point p2 = { 3,4 };
	int* p = new int[4]{ 1,2,3 };

	auto i1 = { 1,2,3,4,4,4 };
	auto i2 = { 1.2,3.1,4.5 };
	//cout << typeid(i1).name() << endl;
	//cout << typeid(i2).name() << endl;

	//initializer_list<int>::iterator it = i1.begin();
	//while (it!=i1.end())
	//{
	//	cout << *it << " ";
	//	it++;
	//}
	//cout << endl;

	//*(it + 3) = 4;

	point p3{ 10,11 };
	point p4 = { 21,22 };
	vector<point> mag1 = { p3,p4 };
	vector<point> mag2{ point{11,77},point{88,11} };

	map<string, string> mag3{ {"apple","ping_guo"},{"sort","pai_xu"} };

	return 0;
}